<?php



class RingtoneBannerMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.RingtoneBannerMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('propel');

		$tMap = $this->dbMap->addTable('ringtone_banner');
		$tMap->setPhpName('RingtoneBanner');

		$tMap->setUseIdGenerator(false);

		$tMap->addPrimaryKey('RINGTONE_ID', 'RingtoneId', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('STATUS', 'Status', 'int', CreoleTypes::TINYINT, false, null);

		$tMap->addColumn('GROUP', 'Group', 'int', CreoleTypes::TINYINT, false, null);

		$tMap->addColumn('GROUP_NAME', 'GroupName', 'string', CreoleTypes::VARCHAR, false, 255);

	} 
} 